# Maintainer: Luca Weiss <luca@lucaweiss.eu>
pkgname=qmi-ping
pkgver=0_git20230118
_commit="cbec8c7acb43edc37b7dde5c6cc5ac4244a908a9"
pkgrel=0
pkgdesc="Ping-like utility for QMI/QRTR"
url="https://github.com/andersson/qmi-ping"
arch="all"
license="BSD-3-Clause"
makedepends="qrtr-dev"
source="$pkgname-$_commit.tar.gz::https://github.com/andersson/qmi-ping/archive/$_commit.tar.gz"
builddir="$srcdir/$pkgname-$_commit"
options="!check" # No tests

build() {
	make
}

package() {
	make DESTDIR="$pkgdir" prefix=/usr install
}

sha512sums="
86e59c3a02748453ec164a9e5e3cca3e7bc02b46129935093b417c0d0b1343362e749b14c6060a065101f01ff5f21565b20cba7695943c9da9d85e6b6717cbbb  qmi-ping-cbec8c7acb43edc37b7dde5c6cc5ac4244a908a9.tar.gz
"
